export const tableConfig = {
    headerOperation: [
        {
            type: 'import',
            visible: true,
            permission: [],
            className: '',
            name: '批量导入',
            button: 'file',
            radioGroup: []
        },
        {
            type: 'download',
            visible: true,
            permission: [],
            className: '',
            name: '下载模板',
            button: 'button',
            radioGroup: []
        },
        {
            type: 'create',
            visible: true,
            permission: [],
            className: '',
            name: '新增',
            button: 'button',
            buttonType: 'primary',
            radioGroup: []
        }
    ],
    search: [
        { key: 'name', type: 'text', name: '训练场名称', placeholder: '' },
        { key: 'addressDetail', type: 'text', name: '训练场地址', placeholder: '' },
        {
            key: 'siteType',
            type: 'select',
            name: '场地类型',
            modelValue: '',
            options: []
        },
        {
            key: 'ownFlag',
            type: 'select',
            name: '是否自有',
            modelValue: '-1',
            options: [
                { value: '-1', label: '全部' },
                { value: '0', label: '否' },
                { value: '1', label: '是' }
            ]
        },
        {
            key: 'status',
            type: 'select',
            name: '状态',
            modelValue: '',
            options: []
        }
    ],
    permission: [],
    table: {
        operationWidth: '120px',
        operation: [
            {
                type: 'edit',
                visible: true,
                permission: [],
                className: '',
                name: '编辑'
            },
            {
                type: 'look',
                visible: true,
                permission: [],
                className: '',
                name: '详情'
            }
        ],

        propName: {
            name: '训练场名称',
            addressDetail: '场地地址',
            status: '状态',
            createBy: '操作人',
            updateTime: '操作时间'
        },
        showSummary: false,
        selection: false,
        index: false,
        isDialog: false,
        summaryArray: [],
        summaryType: '',
        sortable: [],
        switch: {
            disabled: false,
            permission: [],
            tooltip: {
                visible: false,
                content: ''
            }
        }
    }
}
